home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / gfa / procdure.lzh / 4WAY_STK.LST next >
Encoding:
File List  |  1992-01-28  |  120 b   |  7 lines

  1. PROCEDURE 4way_stick(VAR x%,y%)
  2.   LOCAL xa%
  3.   xa%=STICK(1)
  4.   x%=x%+(xa%=4)-(xa%=8)
  5.   y%=y%+(xa%=1)-(xa%=2)
  6. RETURN
  7.